package com.zhou.framework.quartz.job;

import org.quartz.DisallowConcurrentExecution;
import org.quartz.Job;
import org.quartz.JobExecutionContext;

@DisallowConcurrentExecution
public abstract class JobTask implements Job {
    @Override
    public void execute(JobExecutionContext context){
        this.run(context);
    }
    public abstract void run(JobExecutionContext context);
}
